package com.cc.visitor.dao;

import com.cc.visitor.entity.Config;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author chanchaw
 * @create 2025-03-03 16:34
 */
@Repository
public interface ConfigMapper extends BaseMapper<Config> {
    @Select("select * from config where sid = #{sid}")
    Config get8sid(@Param("sid")String sid);
}